package com.ruoyi.mixuebingcheng.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;

import java.io.Serializable;

/**
 * 订单状态视图对象 orders
 *
 * @author ruoyi
 * @date 2023-10-27
 */
@Data
@ExcelIgnoreUnannotated
public class OrdersVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 订单状态 1待付款，2待派送，3已派送，4已完成
     */
    @ExcelProperty(value = "订单状态 1待付款，2待派送，3已派送，4已完成")
    private Long status;

    /**
     * 订单号
     */
    @ExcelProperty(value = "订单号")
    private String orderNumber;

    /**
     * 结账时间
     */
    @ExcelProperty(value = "结账时间")
    private Date checkoutTime;

    /**
     * 实收金额
     */
    @ExcelProperty(value = "实收金额")
    private BigDecimal amount;

    /**
     * 优惠券id
     */
    @ExcelProperty(value = "优惠券id")
    private Long couponId;

    /**
     * 用户id
     */
    @ExcelProperty(value = "用户id")
    private Long userId;


}
